package com.forezp.configclient.rabbitConfig;

import java.util.List;

/**
 * @version V1.0  </br>
 * @ClassName SendFailedMessageHolder </br>
 * @Description TODO  </br>
 * @Author tonywang</br>
 * @DATE 11/22/2018 3:41 PM</br>
 */
public class SendFailedMessageHolder {
    private static List<MessageCorrelationData> messageCorrelationDataList;

    public static List<MessageCorrelationData> getAll() {
        return messageCorrelationDataList;
    }

   public static void clear(){
        messageCorrelationDataList.clear();
   }
    public static void add(MessageCorrelationData messageCorrelationData){
        messageCorrelationDataList.add(messageCorrelationData);
    }
}
